<script setup name="MyModal">
import { ref } from 'vue'
import { onMounted } from 'vue'
import axios from "Axios";




let { data: { content: text } } = await axios.get('https://api.uomg.com/api/rand.qinghua?format=json')
console.log(text);

onMounted(() => {
  getData();
})

</script>

<template>
  <div>
    <p>{{ text }}</p>
  </div>
</template>

<style scoped>
div {
  background-color: royalblue;
}
</style>